﻿using System;
using System.Collections.Generic;
using System.Text;
using DailyDiet.Views;
using DailyDiet.Views.SubPage;

namespace DailyDiet.Services.Navigation
{
    public static class ContentNavigationServiceConstants
    {
  
        //public const string AboutPage2 = nameof(Views.AboutPage2);
        public const string AllDietsPage = nameof(Views.SubPage.AllDietsPage);
        public const string DietsDetailPage = nameof(Views.SubPage.DietsDetailPage);
        public const string FavoritePage = nameof(Views.SubPage.FavoritePage);
        public const string RecDietsDetailPage = nameof(Views.SubPage.RecDietsDetailPage);
        public const string SelfDefinePage = nameof(Views.SubPage.SelfDefinePage);
        public const string TasteSetPage = nameof(Views.SubPage.TasteSetPage);
        public const string VersionPage = nameof(Views.SubPage.VersionPage);
        public const string PersonalInfoSetPage = nameof(Views.SubPage.PersonalInfoSetPage);

        public const string DietFeedbackPage = nameof(Views.SubPage.DietFeedbackPage);

        //一级界面
        public const string HealthInfoPage = nameof(Views.HealthInfoPage);

        public static readonly Dictionary<string, Type> PageKeyTypeDictionary =
            new Dictionary<string, Type> {
                //{nameof(Views.AboutPage), typeof(AboutPage)}
                {nameof(Views.SubPage.AllDietsPage),typeof(AllDietsPage)},
                {nameof(Views.SubPage.DietsDetailPage),typeof(DietsDetailPage)},
                {nameof(Views.SubPage.FavoritePage),typeof(FavoritePage)},
                {nameof(Views.SubPage.RecDietsDetailPage),typeof(RecDietsDetailPage)},
                {nameof(Views.SubPage.SelfDefinePage),typeof(SelfDefinePage)},
                {nameof(Views.SubPage.TasteSetPage),typeof(TasteSetPage)},
                {nameof(Views.SubPage.VersionPage),typeof(VersionPage)},
                {nameof(Views.SubPage.PersonalInfoSetPage),typeof(PersonalInfoSetPage)},
                {nameof(Views.SubPage.DietFeedbackPage),typeof(DietFeedbackPage)}
            };
    }
}
